/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package facade;

import entities.ProductStructure;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Andrés Felipe
 */
@Stateless
@Remote(ProductStructureFacadeRemote.class)
public class ProductStructureFacade extends AbstractFacade<ProductStructure> implements ProductStructureFacadeRemote {
    @PersistenceContext(unitName = "Javeriana.EJB.EstimatorPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public ProductStructureFacade() {
        super(ProductStructure.class);
    }
    
}
